//
//  NetDataCacheManager.h
//

#import <Foundation/Foundation.h>

@interface NetDataCacheManager : NSObject

+ (id)readCacheWithURLKey:(NSString*)URLKey;

+ (void)saveCacheWithObject:(id)object forURLKey:(NSString*)URLKey completion:(void (^)(BOOL success))completion;

+ (void)removeCacheWithURLKey:(NSString*)URLKey;

+ (void)removeOutTimeCache:(NSTimeInterval) cacheTime;

+ (void)resetCache;

+ (unsigned long long)AllCacheSize:(NSString*) CachePath;

+ (NSString*)cacheDirectory;


@end
